package com.share.schedule.simple.model.db;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 2020-12-04
 * ts_schedule_log
 */

@Data
@ApiModel("")
public class ScheduleLog implements Serializable {
    /**
     * ID
     */
	@ApiModelProperty("ID")
    private Long id;

    /**
     * 定时任务代码
     */
	@ApiModelProperty("定时任务代码")
    private String jobCode;

    /**
     * 
     */
	@ApiModelProperty("")
    private String exeIp;

    /**
     * 任务状态（0开始,1正常结束,2异常结束）
     */
	@ApiModelProperty("任务状态（0开始,1正常结束,2异常结束）")
    private String status;

    /**
     * 备注
     */
	@ApiModelProperty("备注")
    private String remark;

    /**
     * 任务开始时间
     */
	@ApiModelProperty("任务开始时间")
    private Date beginTime;

    /**
     * 任务结束时间
     */
	@ApiModelProperty("任务结束时间")
    private Date endTime;

    /**
     * 记录时间
     */
	@ApiModelProperty("记录时间")
    private Date createTime;

    /**
     * 异常信息
     */
	@ApiModelProperty("异常信息")
    private String expMsg;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getJobCode() {
        return jobCode;
    }

    public void setJobCode(String jobCode) {
        this.jobCode = jobCode == null ? null : jobCode.trim();
    }

    public String getExeIp() {
        return exeIp;
    }

    public void setExeIp(String exeIp) {
        this.exeIp = exeIp == null ? null : exeIp.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getExpMsg() {
        return expMsg;
    }

    public void setExpMsg(String expMsg) {
        this.expMsg = expMsg == null ? null : expMsg.trim();
    }
}